package lockers

//DistributeLocker 分布式锁接口
type DistributeLocker interface {
	Lock(key string, ttl int64) (bool, error)
	Release(key string) error
	Delay(key string, ttl int64) error
	TTL(key string) (int64, error)
}
